﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using ImageTagToolViewModel.Models;
using System.Xml.Serialization;

namespace ImageTagToolViewModel.Serialization
{
    /// <summary>
    /// Class to serialize
    /// </summary>
    [Serializable]
    public class PicturesXml
    {
        /// <summary>
        /// list of the pictures
        /// </summary>
        [XmlArray("pictures")]
        public List<Picture> pictureList { get; set; }

        /// <summary>
        /// list of the scanned locations
        /// </summary>
        [XmlArray("Locations")]
        public List<string> LocationList { get; set; }


        public PicturesXml()
        {
            pictureList = new List<Picture>();
            LocationList = new List<string>();
        }
    }
}
